forked from jazzband/django-nose
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/django 1.8 support #1
Open
kamorin
wants to merge
97
commits into
dfeinzeig:master
Choose a base branch
from
CBitLabs:feature/django-1.8-support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When django.core.management.base.BaseCommand includes 'use_argparse', then nose's optparse options are merged using argparse's parser.add_argument in BaseCommand's overriden add_arguments method. For Django 1.7 and earlier, the current .options method is used to set the options. Fixes jazzband#178.
Merge nose options into Django 1.8 argparse-based options
Removing creation.__class__ parameter. Fix jazzband#122
upgrade __version__ in __init__.py to 1.4.0
…ip_create_test_db
Support optparse type=choice (w/ help from @mickm)
…n_mgt make reuse_db=1 work
Django 1.9 pre-release support, switch Travis to tox
Support unicode in filenames
Fix jazzband#190 - assertJSONEqual -> assert_son_equal, add eq_ and ok_
Add coverage runs to runtests.sh. Add a Makefile that includes `make coverage` to run under coverage and combine outputs. Add coverage and coveralls to tox.ini.
Issue jazzband#76 pull request jazzband#101
Ignore optparse default when translating for argparse Fixes jazzband#240
Fix that REUSE_DB=(empty) means false. And correct internal documentation.
* --keepdb (maybe replacement for REUSE_DB=1, fixes jazzband#244) * --reverse (run in reverse order, ignored by nose) * --debug-sql (SQL logging for failing tests)
When a long option is used without an equals sign (such as --processes 2 or --verbosity 2), the argument is passed to nose. This only works in Django 1.8 or later. For Django 1.7 and earlier, --verbosity is handled, but the caller must use --option=value for other parameters. Fixes jazzband#7
For Django 1.7 and earlier, hard-code the list of options that include a parameter. Fixes jazzband#7
In Django 1.8 and later, handle callback args by converting to action=store, and dropping the callback arguments. Django should be able to parse the command line without the callback, and then nose will parse the command line and call the callback with any given options. Fixes jazzband#223
Confirm that selection by attribute works. Fixes jazzband#142.
Drop support to match Django support policy.
Starting with Django 1.8, Django uses argparse, so the optparse-compatible BaseRunner is not usable.
Django 1.10's test class no longer has option_list. Fixes jazzband#254
Conflicts: README.rst django_nose/testcases.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.